#!/bin/bash

tail --lines=11 ./highscore_list_m.txt | sort -k 2,2gr > sorted.txt

:> temp.txt

sed '3,13d' ./highscore_list_m.txt > temp.txt

mv temp.txt ./highscore_list_m.txt

sed '11d' sorted.txt >> ./highscore_list_m.txt

rm sorted.txt

exit
